package com.frank.loadinglibrary.base.baseelement;

import ohos.agp.animation.AnimatorProperty;
import ohos.app.Context;

/**
 * @author eric_shaw
 * @version 1.0
 * @description 组件回调接口
 * @classname IComponentCallback.class
 * @program loadinglibrary
 * @date 2021/06/09
 **/
public interface IComponentCallback {

    /**
     * 回调刷新组件
     */
    public void reflushComponent();

    /**
     * 获取属性动画
     *
     * @return
     */
    public AnimatorProperty getAnimatorProperty();

    /**
     * 获取上下文
     *
     * @return
     */
    public Context getContext();
}
